package demo1;

import org.w3c.dom.ls.LSOutput;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:
 * Date: 2024-06-02
 * Time: 12:42
 */
public class Bird extends Animal{

    public Bird(String name, int age) {
        super(name, age);
    }
    public void fly(){
        System.out.println(this.name + "正在飞...");
    }
  /*  public void eat(){
        System.out.println(this.name + "正在吃鸟粮...");
    }*/
}
